﻿namespace Com.Lancetinc.Evs.Events
{
    /// <summary>
    /// 请求停止录像
    /// </summary>
    public class RequireStopVideoRecordEventArgs
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="reason">停止原因</param>
        public RequireStopVideoRecordEventArgs(RequireStopReason reason)
        {
            Reason = reason;
        }

        public RequireStopReason Reason { get; }
    }

    public enum RequireStopReason
    {
        UserStop,
        VideoDisconnected
    }
}